TeamTreeHouse Using PHP with MySQL

We will extend an existing project to use the popular database system, MySQL. Using a MySQL database we will store information relating to products for sale on our example project. We will also learn to query the database using PHP and talk about the ways you can mitigate security risks such as SQL injections.

Connecting PHP to MySQL

 In this stage we'll make sure you've got MySQL configured right and we'll make ourfirst connection to the database in PHP.